<?php
$arr =['id'=>1,'name'=>'zhangsan'];

echo  json_encode($arr,JSON_UNESCAPED_UNICODE);